\documentclass{article}
\usepackage{geometry}
\geometry{margin=1.5cm, vmargin={0pt,1cm}}
\setlength{\topmargin}{-1cm}
\setlength{\paperheight}{29.7cm}
\setlength{\textheight}{25.3cm}

% useful packages.
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{multicol}
\usepackage{fancyhdr}
\usepackage{layout}
\usepackage{ctex}
\usepackage{listings}

% some common command
\newcommand{\dif}{\mathrm{d}}
\newcommand{\avg}[1]{\left\langle #1 \right\rangle}
\newcommand{\difFrac}[2]{\frac{\dif #1}{\dif #2}}
\newcommand{\pdfFrac}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\OFL}{\mathrm{OFL}}
\newcommand{\UFL}{\mathrm{UFL}}
\newcommand{\fl}{\mathrm{fl}}
\newcommand{\op}{\odot}
\newcommand{\Eabs}{E_{\mathrm{abs}}}
\newcommand{\Erel}{E_{\mathrm{rel}}}

\usepackage{xcolor}
\usepackage{fontspec} 
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{comment}{rgb}{0.56,0.64,0.68}


\begin{document}
\title{Project \#2}
\pagestyle{fancy}
\lhead{Name Li HuiTeng 3180102114}
\chead{ High Order Numerical Method}
\rhead{Date 21.11.03}

\section*{实验结果展示}
本次实验用初级的方法实现了BaseFab<YinCell>。
用户输入BoxSize,BoxWidth,BoxOrigin与需要处理的YinSet后，程序会输出网格上的情况(Empty,Full,NotTrivial)，
并对Interface上的Small YinSet进行存储。

运行\textbf{make RunYinFabTest}后，会生成两个txt文档与两个存储了Interface上的
Small YinSets的文件夹。可以打开matlab文档中的\textbf{carry.m}文件，在Matlab中读取\textbf{dataTestYinFab1,2}
中的\textbf{.dat}文件并生成图片;或者，把\textbf{carry.m}的文件名修改为想查询的后直接运行\textbf{make plotting}.

为简单起见，下面仅列举\textbf{TestYinFab1.txt}的内容与运行\textbf{carry.m}后默认生成的两个Interface YinSet图片。
\begin{lstlisting}
	-----------------------YinFab Test1-----------------------
	//Use a grid to act on the Panda YinSet.
	Grid Size: 15 by 15
	Grid Origin: (-1,-1)
	Grid Width: 0.5
	The cordIndex (0,0) is Empty.
	The cordIndex (1,0) is Empty.
	The cordIndex (2,0) is Empty.
	The cordIndex (3,0) is Empty.
	The cordIndex (4,0) is Empty.
	The cordIndex (5,0) is Empty.
	The cordIndex (6,0) is Empty.
	The cordIndex (7,0) is Empty.
	The cordIndex (8,0) is Empty.
	The cordIndex (9,0) is Empty.
	The cordIndex (10,0) is Empty.
	The cordIndex (11,0) is Empty.
	The cordIndex (12,0) is Empty.
	The cordIndex (13,0) is Empty.
	The cordIndex (14,0) is Empty.
	The cordIndex (0,1) is Empty.
	The cordIndex (1,1) is Empty.
	The cordIndex (2,1) is Empty.
	The cordIndex (3,1) is Empty.
	The cordIndex (4,1) is Empty.
	The cordIndex (5,1) is Empty.
	The cordIndex (6,1) is not trivial. Saved.
	The cordIndex (7,1) is not trivial. Saved.
	The cordIndex (8,1) is not trivial. Saved.
	The cordIndex (9,1) is not trivial. Saved.
	The cordIndex (10,1) is Empty.
	The cordIndex (11,1) is Empty.
	The cordIndex (12,1) is Empty.
	The cordIndex (13,1) is Empty.
	The cordIndex (14,1) is Empty.
	The cordIndex (0,2) is Empty.
	The cordIndex (1,2) is Empty.
	The cordIndex (2,2) is not trivial. Saved.
	The cordIndex (3,2) is not trivial. Saved.
	The cordIndex (4,2) is not trivial. Saved.
	The cordIndex (5,2) is not trivial. Saved.
	The cordIndex (6,2) is not trivial. Saved.
	The cordIndex (7,2) is Full.
	The cordIndex (8,2) is Full.
	The cordIndex (9,2) is not trivial. Saved.
	The cordIndex (10,2) is not trivial. Saved.
	The cordIndex (11,2) is not trivial. Saved.
	The cordIndex (12,2) is Empty.
	The cordIndex (13,2) is Empty.
	The cordIndex (14,2) is Empty.
	The cordIndex (0,3) is Empty.
	The cordIndex (1,3) is Empty.
	The cordIndex (2,3) is not trivial. Saved.
	The cordIndex (3,3) is not trivial. Saved.
	The cordIndex (4,3) is not trivial. Saved.
	The cordIndex (5,3) is not trivial. Saved.
	The cordIndex (6,3) is not trivial. Saved.
	The cordIndex (7,3) is Full.
	The cordIndex (8,3) is not trivial. Saved.
	The cordIndex (9,3) is not trivial. Saved.
	The cordIndex (10,3) is not trivial. Saved.
	The cordIndex (11,3) is not trivial. Saved.
	The cordIndex (12,3) is Empty.
	The cordIndex (13,3) is Empty.
	The cordIndex (14,3) is Empty.
	The cordIndex (0,4) is Empty.
	The cordIndex (1,4) is Empty.
	The cordIndex (2,4) is not trivial. Saved.
	The cordIndex (3,4) is not trivial. Saved.
	The cordIndex (4,4) is Empty.
	The cordIndex (5,4) is Empty.
	The cordIndex (6,4) is not trivial. Saved.
	The cordIndex (7,4) is not trivial. Saved.
	The cordIndex (8,4) is not trivial. Saved.
	The cordIndex (9,4) is not trivial. Saved.
	The cordIndex (10,4) is not trivial. Saved.
	The cordIndex (11,4) is Empty.
	The cordIndex (12,4) is Empty.
	The cordIndex (13,4) is Empty.
	The cordIndex (14,4) is Empty.
	The cordIndex (0,5) is Empty.
	The cordIndex (1,5) is Empty.
	The cordIndex (2,5) is Empty.
	The cordIndex (3,5) is not trivial. Saved.
	The cordIndex (4,5) is Empty.
	The cordIndex (5,5) is Empty.
	The cordIndex (6,5) is Empty.
	The cordIndex (7,5) is not trivial. Saved.
	The cordIndex (8,5) is not trivial. Saved.
	The cordIndex (9,5) is not trivial. Saved.
	The cordIndex (10,5) is not trivial. Saved.
	The cordIndex (11,5) is not trivial. Saved.
	The cordIndex (12,5) is Empty.
	The cordIndex (13,5) is Empty.
	The cordIndex (14,5) is Empty.
	The cordIndex (0,6) is Empty.
	The cordIndex (1,6) is Empty.
	The cordIndex (2,6) is Empty.
	The cordIndex (3,6) is not trivial. Saved.
	The cordIndex (4,6) is not trivial. Saved.
	The cordIndex (5,6) is not trivial. Saved.
	The cordIndex (6,6) is not trivial. Saved.
	The cordIndex (7,6) is not trivial. Saved.
	The cordIndex (8,6) is not trivial. Saved.
	The cordIndex (9,6) is not trivial. Saved.
	The cordIndex (10,6) is not trivial. Saved.
	The cordIndex (11,6) is not trivial. Saved.
	The cordIndex (12,6) is Empty.
	The cordIndex (13,6) is Empty.
	The cordIndex (14,6) is Empty.
	The cordIndex (0,7) is Empty.
	The cordIndex (1,7) is Empty.
	The cordIndex (2,7) is Empty.
	The cordIndex (3,7) is Empty.
	The cordIndex (4,7) is not trivial. Saved.
	The cordIndex (5,7) is not trivial. Saved.
	The cordIndex (6,7) is Full.
	The cordIndex (7,7) is Full.
	The cordIndex (8,7) is not trivial. Saved.
	The cordIndex (9,7) is not trivial. Saved.
	The cordIndex (10,7) is not trivial. Saved.
	The cordIndex (11,7) is not trivial. Saved.
	The cordIndex (12,7) is Empty.
	The cordIndex (13,7) is Empty.
	The cordIndex (14,7) is Empty.
	The cordIndex (0,8) is Empty.
	The cordIndex (1,8) is Empty.
	The cordIndex (2,8) is Empty.
	The cordIndex (3,8) is Empty.
	The cordIndex (4,8) is not trivial. Saved.
	The cordIndex (5,8) is not trivial. Saved.
	The cordIndex (6,8) is Full.
	The cordIndex (7,8) is Full.
	The cordIndex (8,8) is not trivial. Saved.
	The cordIndex (9,8) is not trivial. Saved.
	The cordIndex (10,8) is not trivial. Saved.
	The cordIndex (11,8) is not trivial. Saved.
	The cordIndex (12,8) is Empty.
	The cordIndex (13,8) is Empty.
	The cordIndex (14,8) is Empty.
	The cordIndex (0,9) is Empty.
	The cordIndex (1,9) is Empty.
	The cordIndex (2,9) is Empty.
	The cordIndex (3,9) is Empty.
	The cordIndex (4,9) is not trivial. Saved.
	The cordIndex (5,9) is Full.
	The cordIndex (6,9) is Full.
	The cordIndex (7,9) is not trivial. Saved.
	The cordIndex (8,9) is not trivial. Saved.
	The cordIndex (9,9) is not trivial. Saved.
	The cordIndex (10,9) is not trivial. Saved.
	The cordIndex (11,9) is not trivial. Saved.
	The cordIndex (12,9) is Empty.
	The cordIndex (13,9) is Empty.
	The cordIndex (14,9) is Empty.
	The cordIndex (0,10) is Empty.
	The cordIndex (1,10) is Empty.
	The cordIndex (2,10) is Empty.
	The cordIndex (3,10) is Empty.
	The cordIndex (4,10) is not trivial. Saved.
	The cordIndex (5,10) is not trivial. Saved.
	The cordIndex (6,10) is not trivial. Saved.
	The cordIndex (7,10) is not trivial. Saved.
	The cordIndex (8,10) is Empty.
	The cordIndex (9,10) is Empty.
	The cordIndex (10,10) is not trivial. Saved.
	The cordIndex (11,10) is Empty.
	The cordIndex (12,10) is Empty.
	The cordIndex (13,10) is Empty.
	The cordIndex (14,10) is Empty.
	The cordIndex (0,11) is Empty.
	The cordIndex (1,11) is Empty.
	The cordIndex (2,11) is Empty.
	The cordIndex (3,11) is Empty.
	The cordIndex (4,11) is Empty.
	The cordIndex (5,11) is not trivial. Saved.
	The cordIndex (6,11) is not trivial. Saved.
	The cordIndex (7,11) is Empty.
	The cordIndex (8,11) is Empty.
	The cordIndex (9,11) is Empty.
	The cordIndex (10,11) is Empty.
	The cordIndex (11,11) is Empty.
	The cordIndex (12,11) is Empty.
	The cordIndex (13,11) is Empty.
	The cordIndex (14,11) is Empty.
	The cordIndex (0,12) is Empty.
	The cordIndex (1,12) is Empty.
	The cordIndex (2,12) is Empty.
	The cordIndex (3,12) is Empty.
	The cordIndex (4,12) is Empty.
	The cordIndex (5,12) is Empty.
	The cordIndex (6,12) is Empty.
	The cordIndex (7,12) is Empty.
	The cordIndex (8,12) is Empty.
	The cordIndex (9,12) is Empty.
	The cordIndex (10,12) is Empty.
	The cordIndex (11,12) is Empty.
	The cordIndex (12,12) is Empty.
	The cordIndex (13,12) is Empty.
	The cordIndex (14,12) is Empty.
	The cordIndex (0,13) is Empty.
	The cordIndex (1,13) is Empty.
	The cordIndex (2,13) is Empty.
	The cordIndex (3,13) is Empty.
	The cordIndex (4,13) is Empty.
	The cordIndex (5,13) is Empty.
	The cordIndex (6,13) is Empty.
	The cordIndex (7,13) is Empty.
	The cordIndex (8,13) is Empty.
	The cordIndex (9,13) is Empty.
	The cordIndex (10,13) is Empty.
	The cordIndex (11,13) is Empty.
	The cordIndex (12,13) is Empty.
	The cordIndex (13,13) is Empty.
	The cordIndex (14,13) is Empty.
	The cordIndex (0,14) is Empty.
	The cordIndex (1,14) is Empty.
	The cordIndex (2,14) is Empty.
	The cordIndex (3,14) is Empty.
	The cordIndex (4,14) is Empty.
	The cordIndex (5,14) is Empty.
	The cordIndex (6,14) is Empty.
	The cordIndex (7,14) is Empty.
	The cordIndex (8,14) is Empty.
	The cordIndex (9,14) is Empty.
	The cordIndex (10,14) is Empty.
	The cordIndex (11,14) is Empty.
	The cordIndex (12,14) is Empty.
	The cordIndex (13,14) is Empty.
	The cordIndex (14,14) is Empty.
	Complete!
	peak memory usage: 3664 bytes (0 Mb)	
\end{lstlisting}
\newpage
\includegraphics[width=0.8\textwidth]{plotYin1.png}

\includegraphics[width=0.8\textwidth]{plotYin2.png}


\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
